package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警类型对象 alarmtype
 * 
 * @author ruoyi
 * @date 2024-02-26
 */
public class Alarmtype extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键，自动增长 */
    @Excel(name = "报警类型ID，描述",width = 17)
    private Long id;

    /** 报警类型名称 */
    @Excel(name = "报警类型名称",width = 19)
    private String alarmtypename;

    /** 报警类型名称(英文) */
    @Excel(name = "报警类型名称(英文)",width = 25)
    private String alarmtypenameEN;

    /** 报警类型等级，1特别紧急报警，2紧急报警，3普通报警 */
    @Excel(name = "报警类型等级，1特别紧急报警，2紧急报警，3普通报警",width = 47)
    private String alarmtypelevel;

    /** 报警类型说明，描述 */
    @Excel(name = "报警类型说明，描述",width = 19)
    private String alarmtypeExpain;

    /** 报警类型说明，描述(英文) */
    @Excel(name = "报警类型说明，描述(英文)",width = 25)
    private String alarmtypeExpainEN;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAlarmtypename(String alarmtypename) 
    {
        this.alarmtypename = alarmtypename;
    }

    public String getAlarmtypename() 
    {
        return alarmtypename;
    }
    public void setAlarmtypenameEN(String alarmtypenameEN) 
    {
        this.alarmtypenameEN = alarmtypenameEN;
    }

    public String getAlarmtypenameEN() 
    {
        return alarmtypenameEN;
    }
    public void setAlarmtypelevel(String alarmtypelevel) 
    {
        this.alarmtypelevel = alarmtypelevel;
    }

    public String getAlarmtypelevel() 
    {
        return alarmtypelevel;
    }
    public void setAlarmtypeExpain(String alarmtypeExpain) 
    {
        this.alarmtypeExpain = alarmtypeExpain;
    }

    public String getAlarmtypeExpain() 
    {
        return alarmtypeExpain;
    }
    public void setAlarmtypeExpainEN(String alarmtypeExpainEN) 
    {
        this.alarmtypeExpainEN = alarmtypeExpainEN;
    }

    public String getAlarmtypeExpainEN() 
    {
        return alarmtypeExpainEN;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("alarmtypename", getAlarmtypename())
            .append("alarmtypenameEN", getAlarmtypenameEN())
            .append("alarmtypelevel", getAlarmtypelevel())
            .append("alarmtypeExpain", getAlarmtypeExpain())
            .append("alarmtypeExpainEN", getAlarmtypeExpainEN())
            .toString();
    }
}
